<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
if(request.getAttribute("result")!=null){
	if(request.getAttribute("result").equals("ok")){
	%>
		<script>alert("提交成功");location='/rykp.do?state=showall&&uid=${uid}'</script>
	<%
	}else{
	%>
		<script>alert("提交失败");</script>
	<%
	}
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
  <head>
    
    <title>人员资料</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<script>
function SubmitForm(){

	return true;
}
</script>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
  </head>
  
  <body>
    
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<table class="TableTop" width="70%" align="center">
   <tbody><tr>
      <td class="left"></td>
      <td class="center subject">
         人员考评-${ryzl.xm}</td>
      <td class="right"></td>
   </tr>
</tbody></table>
<form action="rykp.do?state=saveedit" method="post" id="form1" name="form1" onSubmit="return SubmitForm();" >
<input id="uid" name="uid" value="${ryzl.id}" type="hidden"/>
<input type="hidden" value="${rykp.id }" name="rykpid" id ="rykpid"/>
<table class="TableBlock no-top-border" width="70%" align="center">
    <tbody>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">考评日期：</td>
        <td class="TableData"><input name="kprq" value="${rykp.kprqString }" type="text" class="SmallInput" id="kprq"  maxlength="100" onFocus="WdatePicker()"></td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">考评内容：</td>
        <td class="TableData">
         <textarea rows="3" cols="30" id="kpnr" name="kpnr" class="SmallInput">${rykp.kpnr }</textarea>
        </td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">考评结果：</td>
        <td class="TableData">
        <input type="radio" id="kpjg" <c:if test="${rykp.kpjg=='优秀' }">checked="checked"</c:if> name="kpjg"  value="优秀"/>优秀
        <input type="radio" id="kpjg" <c:if test="${rykp.kpjg=='合格' }">checked="checked"</c:if> name="kpjg" value="合格" />合格
        <input type="radio" id="kpjg" <c:if test="${rykp.kpjg=='不合格' }">checked="checked"</c:if> name="kpjg" value="不合格"/>不合格
      </td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">备注：</td>
        <td class="TableData"><input name="bz" type="text" class="SmallInput" id="bz" value="${rykp.bz }" onKeyPress="if(event.keyCode==13) return false;" maxlength="100"></td>
      </tr>
    <tr class="TableControl" align="center">
      <td colspan="2" nowrap="nowrap"> 
        <input id="btn_submit" value="提交" class="BigButtonB"  type="submit" />&nbsp;&nbsp; 
        <input id="btn_submit" value="返回" class="BigButtonB"  type="button" onClick="history.back();"></td>
    </tr>
  </tbody></table>
</form>

  </body>
</html>
